]> dgit.raspbian.org Git - gnome-shell.git/commit
inputMethod: Do not change IBus.Capabilite by focus events
authorTakao Fujiwara <tfujiwar@redhat.com>
Tue, 1 Oct 2019 10:53:20 +0000 (19:53 +0900)
committerCarlos Garnacho <mrgarnacho@gmail.com>
Wed, 2 Oct 2019 08:40:27 +0000 (08:40 +0000)
commit60cad018807fed82c507d78b9e560b116d2abe40
tree165746758813aa057c83be7f5efab63c0cf66384
parent63c9a6efd091d0e84f8fe2784d49a7d10e34ffac
inputMethod: Do not change IBus.Capabilite by focus events

gnome-shell calls ibus_input_context_focus_in() in InputMethod.focus_in()
but the event is not actually forwarded to panels and engines in GNOME
Wayland because gnome-shell changes IBus.Capabilite by focus events and
disables IBus.Capabilite.FOCUS when ibus_input_context_focus_in() is called.

IBus.Capabilite is assumed a fixed value per input context in the
first place and it should not be changed by focus events.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/573
js/misc/inputMethod.js